//
//  ICEJavaScriptBridge.h
//  ICEH5Bridge
//
//  Created by wujianrong on 2017/8/14.
//  Copyright © 2017年 wanda. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ICEWebViewController.h"

@interface ICEJavaScriptBridge : NSObject

//支持外部重写默认plug
+(void)configPluginWithPrefix:(NSString*)prefix;

+(void)processJSWithPlugin:(NSString*)plugin method:(NSString*)method param:(NSDictionary*)param vcinfo:(ICEWebInfo*)vcinfo callbackId:(NSString*)callbackId;

+(void)sendReslutToJS:(NSDictionary*)result callInfo:(NSDictionary*)info;

+(void)sendReslutToJS:(NSDictionary*)result callInfo:(NSDictionary*)info completionHandler:(void (^)(id, NSError *error))completionHandler;

@end
